﻿@model IEnumerable<OneoneNine.Models.Examine>
@*审核首页*@
@{
    ViewData["Title"] = "Index";
}

<h1>修改请假信息表</h1>

<table class="table">
    <thead class="thead-light">
        <tr>
            <th scope="col">
                @* @Html.DisplayNameFor(model => model.StudentName)*@
                学生姓名
            </th>
            <th scope="col">
                @*@Html.DisplayNameFor(model => model.StartDate)*@
                开始日期
            </th>
            <th scope="col">
                @*@Html.DisplayNameFor(model => model.EndDate)*@
                结束日期
            </th>
            <th scope="col">
                @*@Html.DisplayNameFor(model => model.Reason)*@
                请假原因
            </th>
            <th scope="col">
                @*@Html.DisplayNameFor(model => model.State)*@
                状态
            </th>
            <th scope="col">操作</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.StudentName)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.StartDate)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.EndDate)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Reason)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.State)
                </td>
                <td>
                    <a class="btn btn-outline-success" asp-action="Edit" asp-route-id="@item.Id">审核</a>

                </td>
            </tr>
        }
    </tbody>
</table>

